home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 3.0 KB | 89 lines | [TEXT/MPS ] |
- /*
- File: PCIPlugin.idl
-
- Contains: This file contains all interface related structures and prototypes for pci expert to plugin
-
- Version: Technology: Copland
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __PCIPLUGIN_IDL__
- #define __PCIPLUGIN_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __PCICOMMONPLUGIN_IDL__
- #include <PCICommonPlugin.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_PREEMPTIVE
- /* subordinate pci device tree 'reg' property structure definition*/
- typedef SOMLargeStruct PCIRegProperty; /* Derived from a struct of 20 bytes in size */
-
- typedef OpaquePtr PCIRegPropertyPtr; /* Substituted OpaquePtr for “PCIRegProperty*” */
-
- /* pci device tree 'bus-range' property structure definition*/
- typedef SOMLargeStruct PCIBusRangeProperty; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr PCIBusRangePropertyPtr; /* Substituted OpaquePtr for “PCIBusRangeProperty*” */
-
- /* subordinate pci device description table entry header structure definition*/
- typedef LogicalAddress ConfigAddress;
-
- typedef LogicalAddress IOAddress;
-
- typedef SOMLargeStruct PCIDeviceTableEntryHeader; /* Derived from a struct of 80 bytes in size */
-
- typedef OpaquePtr PCIDeviceTableEntryHeaderPtr; /* Substituted OpaquePtr for “PCIDeviceTableEntryHeader*” */
-
- /* subordinate pci device description table entry structure definition*/
- typedef SOMLargeStruct PCIDeviceTableEntry; /* Derived from a struct of 152 bytes in size */
-
- typedef OpaquePtr PCIDeviceTableEntryPtr; /* Substituted OpaquePtr for “PCIDeviceTableEntry*” */
-
- /* type defs for plugin interfaces*/
- typedef OpaquePtr ConfigReadByteFuncPtr;
- typedef OpaquePtr ConfigReadWordFuncPtr;
- typedef OpaquePtr ConfigReadLongFuncPtr;
- typedef OpaquePtr ConfigWriteByteFuncPtr;
- typedef OpaquePtr ConfigWriteWordFuncPtr;
- typedef OpaquePtr ConfigWriteLongFuncPtr;
- typedef OpaquePtr IOReadByteFuncPtr;
- typedef OpaquePtr IOReadWordFuncPtr;
- typedef OpaquePtr IOReadLongFuncPtr;
- typedef OpaquePtr IOWriteByteFuncPtr;
- typedef OpaquePtr IOWriteWordFuncPtr;
- typedef OpaquePtr IOWriteLongFuncPtr;
- typedef OpaquePtr IntAckReadByteFuncPtr;
- typedef OpaquePtr IntAckReadWordFuncPtr;
- typedef OpaquePtr IntAckReadLongFuncPtr;
- typedef OpaquePtr SpecialCycleWriteLongFuncPtr;
- typedef OpaquePtr InitDeviceEntryFuncPtr;
- typedef OpaquePtr GetIOBaseFuncPtr;
- /* pci domain descriptor definition*/
- typedef SOMLargeStruct PCIControlDescriptor; /* Derived from a struct of 256 bytes in size */
-
- typedef OpaquePtr PCIControlDescriptorPtr; /* Substituted OpaquePtr for “PCIControlDescriptor*” */
-
- /* Prototypes for the PIM*/
- /* general purpose pci masks*/
- /* pci encoded-int structure constants definition*/
- /* pci cycle access type for forwarding*/
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __PCIPLUGIN_IDL__ */
-
-